<?php


class userController extends controller
{
    public function index()
    {
        $data = DB::table('user')->order('id desc')->select();
        $this->assign('title', '用户列表中心');
        $this->assign('list', $data);
        $this->display('user/index.html');
    }
}